package de.l3s.forgetit.services.schema;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;

public class PIMOResource implements Resource {
	
	private String type;
	private String uri;
	private String label;
	
	public PIMOResource() {}
	
	public PIMOResource(String type, String label, String uri) {
		this.type = type;
		this.label = label;
		this.uri = uri;
	}
		
	@XmlAttribute(name = "type")
	@XmlSchemaType(name = "string")
	public String getType() {
		return type;
	}
	
	@XmlAttribute(name = "uri")
	@XmlSchemaType(name = "string")
	public String getUri() {
		return uri;
	}
	
	@XmlAttribute(name = "label")
	@XmlSchemaType(name = "string")
	public String getLabel() {
		return label;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public void setLabel(String label) {
		this.label = label;
	}
}
